/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sopraim.entity;

/**
 *
 * @author JulieDu
 */
public class Action {
    private long id ;
    
    private int type ;  //  0=received (on server), 1=received(on client), 2=read  
    
    private User userReceiver ; // receiver

    private TextMessage message ; 
    
    public Action() {
    }

    
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public User getUserReceiver() {
        return userReceiver;
    }

    public void setUserReceiver(User userReceiver) {
        this.userReceiver = userReceiver;
    }

   

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public TextMessage getMessage() {
        return message;
    }

    public void setMessage(TextMessage message) {
        this.message = message;
    }
    
    
 
    
}
